package cn.maidouya.pet.service;

import cn.maidouya.basic.service.BaseService;
import cn.maidouya.basic.util.PageList;
import cn.maidouya.pet.domain.Pet;
import cn.maidouya.pet.domain.SearchMasterMsg;
import cn.maidouya.pet.query.SearchMasterMsgQuery;

public interface ISearchMasterMsgService extends BaseService<SearchMasterMsg> {
    // 寻主
    void publish(SearchMasterMsg searchMasterMsg, Long logininfoId);
    // 待处理消息 pending
    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery searchMasterMsgQuery, Long id);
    // 已处理消息 processed
    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery searchMasterMsgQuery, Long id);
    // 用户自己消息
    PageList<SearchMasterMsg> userList(SearchMasterMsgQuery searchMasterMsgQuery, Long id);
    // 寻主消息处理
    void handle(Pet pet,Long logininfoId);
}
